<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>&nbsp;</title>
    <link rel='stylesheet' href='../css/login.css' />
    <link rel='stylesheet' href='../css/iconfont.css' />

    <script type="text/javascript">
        function logout()
        {
			   window.location="../index.html";
        }
</script>

</head>
<body>
    <div class="PublicHead clearfix" style="height: 95px;"  id="app">
        <div class="leftBox clearfix">
            <!--<div class="companyLogo">
                <img src="images/logo.jpg" />
            </div>-->
            <div class="companyText">
                 <div style="font-size: 27px;padding-top: 20px;">流浪动物救助平台</div>
            </div>
        </div>
        
        <div class="RightBox clearfix" style="padding-top: 30px;">
            <div class="UserPhotoBox">
                <div class="UserPic">
                    <img src="../images/user.jpg" />
                </div>
                <div class="UserName">
                   <span>{{user.username}}</span>
                </div>
            </div>
            <a href="#" onclick="logout()">
                <div class="dropOutBox">
                    <i class="iconfont icon-app_icons--"></i>
                    <span>退出</span>
                </div>
            </a>
        </div>
    </div>
    
    
    

    <div class="PublicDownWhole clearfix" style="padding-top: 100px;">
        <div class="leftBox Js_leftBox">
            <ul>
                <!-- <a href="" target="iframe1"> 
                   <li class="Select"><i class="iconfont icon-yonghuguanli" ></i><span>1111</span></li>
                </a>  -->
                
                <a href="./userInfo/userinfo.html" target="iframe1"> 
                   <li><i class="iconfont icon-tubiao_dingdan" ></i><span>我的信息</span></li>
                </a>

                <a href="./jiaru/jiaruMine.html" target="iframe1"> 
                   <li><i class="iconfont icon-tubiao_dingdan"></i><span>志愿者加入申请</span></li>
                </a>

                <a href="./shenqing/shenqingMine.html" target="iframe1"> 
                   <li><i class="iconfont icon-tubiao_dingdan"></i><span>我的领养申请</span></li>
                </a>

                <a href="./juan/juanMine.html" target="iframe1"> 
                   <li><i class="iconfont icon-tubiao_dingdan"></i><span>我的爱心捐助</span></li>
                </a>
                <a href="./dongwu/dongwuAdd.html" target="iframe1">
                    <li><i class="iconfont icon-tubiao_dingdan"></i><span>添加流浪动物</span></li>
                </a>

                
                
            </ul>
        </div>
        <div class="RightBox">
                <iframe name="iframe1" align="top" frameborder="0" scrolling="auto" width="100%" height="600">
                </iframe>    
        </div>
    </div>

    <script src="/js/vue.min.js"></script>
    <script>

        new Vue({
            el: '#app',
            data: 
            {
                user:{
				  
                },
            },
            
            methods: 
            {
                


            },
            
            created()
            {
                var userJsonString = localStorage.getItem("user");
                if(userJsonString !=null)//判断是否登录
                {
                    var user=JSON.parse(userJsonString);
                    this.user=user;
                }
                else
                {
                
                }
            },

        })

   </script>
    
</body>
</html>
